.course-list-container {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
  background-color: #f8f9fa;
}

.course-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
  border-radius: 12px;
  color: white;
}

.course-header h2 {
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 600;
}

.course-subtitle {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  opacity: 0.9;
}

.course-filters {
  margin-bottom: 32px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-input {
  width: 100%;
}

.search-input .ant-input {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
}

.sort-radio-group {
  width: 100%;
  display: flex;
  gap: 8px;
}

.sort-radio-group .ant-radio-button-wrapper {
  flex: 1;
  text-align: center;
  height: 40px;
  line-height: 40px;
  border-radius: 8px;
}

.course-card {
  height: 100%;
  transition: all 0.3s;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.course-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.course-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.course-card:hover .course-image {
  transform: scale(1.05);
}

.course-category-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.course-title {
  margin: 16px 16px 8px !important;
  line-height: 1.4 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

.course-description {
  color: #666;
  margin: 0 16px 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  max-height: 3em;
}

.course-stats {
  display: flex;
  justify-content: space-between;
  color: #999;
  font-size: 14px;
  margin: 0 16px 12px;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 16px 16px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.course-rating-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.course-rating {
  font-size: 13px;
  margin-bottom: 4px;
}

.course-enrollments {
  font-size: 13px;
  color: #666;
}

.course-price {
  font-size: 20px;
  font-weight: 600;
  color: #ff4d4f;
}

/* 响应式调整 */
@media (max-width: 576px) {
  .course-list-container {
    padding: 16px;
  }

  .course-header {
    margin-bottom: 24px;
    padding: 16px;
  }

  .course-header h2 {
    font-size: 24px;
  }

  .course-filters {
    padding: 16px;
  }

  .course-image-container {
    height: 160px;
  }

  .sort-radio-group {
    margin-top: 16px;
  }

  .course-title {
    font-size: 16px !important;
  }

  .course-price {
    font-size: 18px;
  }
}